package com.zyb.basic.util;

public class AjaxResult {
    /*表示请求成功*/
    private boolean success = true;
    /*操作成功提示信息*/
    private String message = "操作成功!";

    public static AjaxResult me(){
        return new AjaxResult();
    }

    public boolean isSuccess() {
        return success;
    }

    public AjaxResult setSuccess(boolean success) {
        this.success = success;
        return this;
    }

    public String getMessage() {
        return message;
    }

    public AjaxResult setMessage(String message) {
        this.message = message;
        return this;
    }



}
